package com.xcity.game.account;

public enum Platform {

	UNKNOWN,
	ANDROID, // 1
	IOS      // 2
	;
	
	static Platform[] vals = values();
	public static Platform forCode(int code) {
		return code >= 0 && code < vals.length ? vals[code] : UNKNOWN;
	}
	
}
